import request from '@/utils/request'
export const getRoleListAPI = (params) => request.get('/sys/role', { params })
// 新增 角色
export const putRoleListAPI = (data) => request.post('/sys/role', data)
// 编辑更新角色信息
export const updateRoleListAPI = (data) => request.put(`/sys/role/${data.id}`, data)
// 删除角色信息
export const delRoleListAPI = (id) => request.delete(`/sys/role/${id}`)
